package com.att.service.impl;

import com.att.bean.UserTempSchBean;
import com.att.dao.UserTempSchDaoMapper;
import com.att.service.UserTempSchService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service("userTempSchService")
public class UserTempSchServiceImpl implements UserTempSchService {

    @Resource
    private UserTempSchDaoMapper userTempSchDaoMapper;

    @Override
    public boolean insert(UserTempSchBean bean) {
        return userTempSchDaoMapper.insert(bean);
    }

    @Override
    public boolean delete(UserTempSchBean bean) {
        return userTempSchDaoMapper.delete(bean);
    }
}
